using UnityEngine;

namespace StarForce
{
    public class WatermelonData : EntityData
    {
        /// <summary>
        /// 西瓜类型
        /// </summary>
        private WatermelonType m_WatermelonType;

        /// <summary>
        /// 是否为合成的西瓜
        /// </summary>
        private bool m_Compose;

        private Vector3 m_Position;

        public Vector3 Position1
        {
            get { return m_Position; }
            set { m_Position = value; }
        }

        public bool Compose
        {
            get { return m_Compose; }
            set { m_Compose = value; }
        }

        public WatermelonType WatermelonType
        {
            get { return m_WatermelonType; }
            set { m_WatermelonType = value; }
        }

        public WatermelonData(int entityId, int typeId, WatermelonType watermelonType, bool compose, Vector3 position) : base(entityId, typeId)
        {
            m_WatermelonType = watermelonType;
            m_Compose = compose;
            m_Position = position;
        }
    }
}